package com.lifesaftypower.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.webkit.WebView;

public class OverviewActivity extends Activity {
	public static final String INTENT_OVERVIEW = "INTENT_OVERVIEW";
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_overview);
		Bundle extra = getIntent().getExtras();

		String overview = extra.getString(INTENT_OVERVIEW);
		WebView wvOverview = (WebView)findViewById(R.id.wvProductOverview);
		wvOverview.loadData(overview, "text/html", null);
		
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_overview, menu);
		return true;
	}

}
